import java.awt.Graphics2D;
import java.awt.event.KeyEvent;
import java.awt.event.KeyListener;

public class KeyListenerImpl implements KeyListener {

	public Graphics2D grap;
	
	public void keyPressed(KeyEvent arg0) {
//		if (KeyEvent.VK_E == arg0.getKeyCode())
//			System.out.println("bouton pressé");
		if (KeyEvent.VK_UP == arg0.getKeyCode())
			System.out.println("lol");
			

	}

	public void keyReleased(KeyEvent arg0) {
//		if (KeyEvent.VK_E == arg0.getKeyCode())
//			System.out.println("bouton relaché");

	}

	public void keyTyped(KeyEvent arg0) {
		if (KeyEvent.VK_E == arg0.getKeyCode())
			System.out.println("bouton typé");

	}

}
